<!-- 编辑区域 -->
<div class="lists_empty">
    <!--添加用户表单-->
    <div class="tab_edit_empty">
        <div style="background-color: #DDDDDD;font-weight: bold;padding: 5px;">用户基础信息</div>
        <div>
            <ul style="float: left;">
                <li>头像：</li><li>{:widget('common/Images/img',array($user_info['avatar'],80,80))}</li>
            </ul>
        </div>
        <table width="100%" class="list">
            <tr>
                <td class="t_r t_left_w">头像：</td>
                <td colspan="5" class="t_l">{:widget('common/Images/img',array($user_info['avatar'],80,80))}</td>
            </tr>
            <tr>
                <td class="t_r t_left_w" style="width: 8%;">用户编号：</td>
                <td class="t_l" style="width: 25%;">{$user_info['user_id']}</td>
                <td class="t_r t_left_w" style="width: 8%;">所属代理商：</td>
                <td class="t_l" style="width: 25%;">{:widget('common/Name/agent',array($user_info["agent_id"]))}</td>
                <td class="t_r t_left_w" style="width: 8%;">所属业务员：</td>
                <td class="t_l" style="width: 25%;">{:widget('common/Name/agent_admin',array($user_info["agent_id"]))}</td>
            </tr>
            <tr>
                <td class="t_r t_left_w" style="width: 8%;">昵称：</td>
                <td class="t_l" style="width: 25%;">{$user_info['nick']}</td>
                <td class="t_r t_left_w" style="width: 8%;">姓名：</td>
                <td class="t_l" style="width: 25%;">{$user_info['real']}</td>
                <td class="t_r t_left_w" style="width: 8%;">身份证号码：</td>
                <td class="t_l" style="width: 25%;">{$user_info['identity']}</td>
            </tr>
            <tr>
                <td class="t_r t_left_w" style="width: 8%;">电话号码：</td>
                <td class="t_l" style="width: 25%;">{$user_info['phone']}</td>
                <td class="t_r t_left_w" style="width: 8%;">客户等级：</td>
                <td class="t_l" style="width: 25%;">{:widget('common/Name/user_level',array($user_info["level_id"]))}</td>
                <td class="t_r t_left_w" style="width: 8%;">信用额度：</td>
                <td class="t_l" style="width: 25%;">{$user_info['credit_limit']}</td>
            </tr>
            <tr>
                <td class="t_r t_left_w" style="width: 8%;">性别：</td>
                <td class="t_l" style="width: 25%;">{:widget('common/Color/Color',array("sex",$user_info['sex']))}</td>
                <td class="t_r t_left_w" style="width: 8%;">年龄：</td>
                <td class="t_l" style="width: 25%;">{$user_info['age']}</td>
                <td class="t_r t_left_w" style="width: 8%;">出生日期：</td>
                <td class="t_l" style="width: 25%;">{$user_info['birthday']}</td>
            </tr>
            <tr>
                <td class="t_r t_left_w" style="width: 8%;">状态：</td>
                <td class="t_l" style="width: 25%;">{:widget('common/Color/Color',array("user_status",$user_info['user_status']))}</td>
                <td class="t_r t_left_w" style="width: 8%;">来源：</td>
                <td class="t_l" style="width: 25%;">{:widget('common/Color/Color',array("source",$user_info['source']))}</td>
                <td class="t_r t_left_w" style="width: 8%;">是否实名：</td>
                <td class="t_l" style="width: 25%;">{:widget('common/Color/Color',array("is_real",$user_info['is_real']))}</td>
            </tr>
            <tr>
                <td class="t_r t_left_w" style="width: 8%;">是否学生：</td>
                <td class="t_l" style="width: 25%;">{:widget('common/Color/Color',array("is_student",$user_info['is_student']))}</td>
                <td class="t_r t_left_w" style="width: 8%;">实名时间：</td>
                <td class="t_l" style="width: 25%;">{$user_info['real_time']}</td>
                <td class="t_r t_left_w" style="width: 8%;">最后登录时间：</td>
                <td class="t_l" style="width: 25%;">{$user_info['login_time']}</td>
            </tr>
            <tr>
                <td class="t_r t_left_w" style="width: 8%;">最后登录IP：</td>
                <td class="t_l" style="width: 25%;">{$user_info['login_ip']}</td>
                <td class="t_r t_left_w" style="width: 8%;">注册时间：</td>
                <td class="t_l" style="width: 25%;">{$user_info['reg_time']}</td>
                <td class="t_r t_left_w" style="width: 8%;">注册IP：</td>
                <td class="t_l" style="width: 25%;">{$user_info['reg_ip']}</td>
            </tr>
            <tr>
                <td class="t_r t_left_w" style="width: 8%;">备注：</td>
                <td colspan="5" class="t_l" style="width: 95%;">{$user_info['remark']}</td>
            </tr>
            {notempty name="user_material_list"}
                <tr><td colspan="6" style="background-color: #DDDDDD;font-weight: bold;">用户材料信息</td></tr>
                <tr>
                    <td colspan="6">
                        <div class="lists-tab-cont" style="margin-bottom: 30px;">
                            <div class="lists-table" style="min-height: 0px;">
                                <table class="pointer" cellpadding="0" cellspacing="0" border="0">
                                    <thead>
                                    <tr>
                                        <th style="width: 20%;">名称</th>
                                        <th style="width: 20%;">值</th>
                                        <th style="width: 10%;">审核状态</th>
                                        <th style="width: 15%;">备注</th>
                                        <th style="width: 10%;">审核人</th>
                                        <th style="width: 15%;">审核时间</th>
                                        <th>操作</th>
                                    </tr>
                                    </thead>
                                    <tbody>
                                    {foreach name="user_material_list" item="info"}
                                    <tr>
                                        <td>{:widget('common/Name/material_item',array($info['material_item_id']))}</td>
                                        <td>{$info.content}</td>
                                        <td>{:widget('common/Color/Color',array("material_status",$info['material_status']))}</td>
                                        <td>{$info.remark}</td>
                                        <td>{:widget('common/Name/agent_admin',array($info['audit_agent_admin']))}</td>
                                        <td>{$info.audit_time}</td>
                                        <td><a href="{:Url('user_material_list',array('user_id'=>$info['user_id']))}" class="blue info1">查看历史</a></td>
                                    </tr>
                                    {/foreach}
                                    </tbody>
                                </table>
                            </div>
                        </div>
                    </td>
                </tr>
            {/notempty}
            {notempty name="user_company_list"}
                <tr><td colspan="6" style="background-color: #DDDDDD;font-weight: bold;">用户公司信息</td></tr>
                <tr>
                    <td colspan="6">
                        <div class="lists-tab-cont" style="margin-bottom: 30px;">
                            <div class="lists-table" style="min-height: 0px;">
                                <table class="pointer" cellpadding="0" cellspacing="0" border="0">
                                    <thead>
                                    <tr>
                                        <th style="width: 20%;">名称</th>
                                        <th style="width: 10%;">法人</th>
                                        <th style="width: 10%;">实际经营人</th>
                                        <th style="width: 10%;">是否最新</th>
                                        <th style="width: 15%;">联系电话</th>
                                        <th style="width: 10%;">注册资金(万元)</th>
                                        <th style="width: 15%;">注册时间</th>
                                        <th>操作</th>
                                    </tr>
                                    </thead>
                                    <tbody>
                                    {foreach name="user_company_list" item="info"}
                                    <tr>
                                        <td>{$info.company_name}</td>
                                        <td>{$info.law_man}</td>
                                        <td>{$info.manager}</td>
                                        <td>{:widget('common/Color/Color',array("is_history",$info['is_history']))}</td>
                                        <td>{$info.phone}</td>
                                        <td>{$info.register_capital}</td>
                                        <td>{$info.register_time}</td>
                                        <td><a href="{:Url('user_material_list',array('user_id'=>$info['user_id']))}" class="blue info1">详情</a></td>
                                    </tr>
                                    {/foreach}
                                    </tbody>
                                </table>
                            </div>
                        </div>
                    </td>
                </tr>
            {/notempty}
            {notempty name="user_car_list"}
                <tr><td colspan="6" style="background-color: #DDDDDD;font-weight: bold;">用户车辆信息</td></tr>
                <tr>
                    <td colspan="6">
                        <div class="lists-tab-cont" style="margin-bottom: 30px;">
                            <div class="lists-table" style="min-height: 0px;">
                                <table class="pointer" cellpadding="0" cellspacing="0" border="0">
                                    <thead>
                                    <tr>
                                        <th style="width: 15%;">品牌</th>
                                        <th style="width: 15%;">型号</th>
                                        <th style="width: 10%;">配置</th>
                                        <th style="width: 10%;">车龄</th>
                                        <th style="width: 10%;">购买价格</th>
                                        <th style="width: 10%;">目前估价</th>
                                        <th style="width: 10%;">贷款金额</th>
                                        <th style="width: 10%;">剩余贷款</th>
                                        <th>操作</th>
                                    </tr>
                                    </thead>
                                    <tbody>
                                    {foreach name="user_car_list" item="info"}
                                    <tr>
                                        <td>{$info.car_brand_name}</td>
                                        <td>{$info.car_model_name}</td>
                                        <td>{$info.car_config_name}</td>
                                        <td>{$info.car_age}</td>
                                        <td>{$info.car_money}</td>
                                        <td>{$info.worth}</td>
                                        <td>{$info.loan_money}</td>
                                        <td>{$info.rest_money}</td>
                                        <td><a href="{:Url('user_material_list',array('user_id'=>$info['user_id']))}" class="blue info1">详情</a></td>
                                    </tr>
                                    {/foreach}
                                    </tbody>
                                </table>
                            </div>
                        </div>
                    </td>
                </tr>
            {/notempty}
            {notempty name="user_house_list"}
                <tr><td colspan="6" style="background-color: #DDDDDD;font-weight: bold;">用户房产信息</td></tr>
                <tr>
                    <td colspan="6">
                        <div class="lists-tab-cont" style="margin-bottom: 30px;">
                            <div class="lists-table" style="min-height: 0px;">
                                <table class="pointer" cellpadding="0" cellspacing="0" border="0">
                                    <thead>
                                    <tr>
                                        <th style="width: 20%;">名称</th>
                                        <th style="width: 20%;">值</th>
                                        <th style="width: 10%;">审核状态</th>
                                        <th style="width: 15%;">备注</th>
                                        <th style="width: 10%;">审核人</th>
                                        <th style="width: 15%;">审核时间</th>
                                        <th>操作</th>
                                    </tr>
                                    </thead>
                                    <tbody>
                                    {foreach name="user_house_list" item="info"}
                                    <tr>
                                        <td>{$info.province_id}</td>
                                        <td>{$info.city_id}</td>
                                        <td>{$info.area_id}</td>
                                        <td>{$info.address}</td>
                                        <td>{$info.number}</td>
                                        <td>{$info.age}</td>
                                        <td>{$info.user_house_type}</td>
                                        <td><a href="{:Url('user_material_list',array('user_id'=>$info['user_id']))}" class="blue info1">详情</a></td>
                                    </tr>
                                    {/foreach}
                                    </tbody>
                                </table>
                            </div>
                        </div>
                    </td>
                </tr>
            {/notempty}
            <tr><td colspan="6" style="background-color: #DDDDDD;font-weight: bold;">用户信用卡信息</td></tr>
            {empty name="user_credit_card_list"}
                <tr><td colspan="6"><font color="red">无用户信用卡信息！</font></td></tr>
            {else/}
                <tr>
                    <td colspan="6">
                        <div class="lists-tab-cont" style="margin-bottom: 30px;">
                            <div class="lists-table" style="min-height: 0px;">
                                <table class="pointer" cellpadding="0" cellspacing="0" border="0">
                                    <thead>
                                    <tr>
                                        <th style="width: 20%;">名称</th>
                                        <th style="width: 20%;">值</th>
                                        <th style="width: 10%;">审核状态</th>
                                        <th style="width: 15%;">备注</th>
                                        <th style="width: 10%;">审核人</th>
                                        <th style="width: 15%;">审核时间</th>
                                        <th>操作</th>
                                    </tr>
                                    </thead>
                                    <tbody>
                                    {foreach name="user_credit_card_list" item="info"}
                                    <tr>
                                        <td>{$info.bank_id}</td>
                                        <td>{$info.amount}</td>
                                        <td>{$info.used_amount}</td>
                                        <td>{$info.create_time}</td>
                                        <td>{$info.update_time}</td>
                                        <td>{$info.is_history}</td>
                                        <td><a href="{:Url('user_material_list',array('user_id'=>$info['user_id']))}" class="blue info1">详情</a></td>
                                    </tr>
                                    {/foreach}
                                    </tbody>
                                </table>
                            </div>
                        </div>
                    </td>
                </tr>
            {/empty}
            <tr><td colspan="6" style="background-color: #DDDDDD;font-weight: bold;">用户保单信息</td></tr>
            {empty name="user_policy_list"}
                <tr><td colspan="6"><font color="red">无用户保单信息！</font></td></tr>
            {else/}
                <tr>
                    <td colspan="6">
                        <div class="lists-tab-cont" style="margin-bottom: 30px;">
                            <div class="lists-table" style="min-height: 0px;">
                                <table class="pointer" cellpadding="0" cellspacing="0" border="0">
                                    <thead>
                                    <tr>
                                        <th style="width: 20%;">名称</th>
                                        <th style="width: 20%;">值</th>
                                        <th style="width: 10%;">审核状态</th>
                                        <th style="width: 15%;">备注</th>
                                        <th style="width: 10%;">审核人</th>
                                        <th style="width: 15%;">审核时间</th>
                                        <th>操作</th>
                                    </tr>
                                    </thead>
                                    <tbody>
                                    {foreach name="user_policy_list" item="info"}
                                    <tr>
                                        <td>{$info.company_name}</td>
                                        <td>{$info.insured_name}</td>
                                        <td>{$info.start_time}</td>
                                        <td>{$info.pay_type}</td>
                                        <td>{$info.img_url}</td>
                                        <td>{$info.create_time}</td>
                                        <td><a href="{:Url('user_material_list',array('user_id'=>$info['user_id']))}" class="blue info1">详情</a></td>
                                    </tr>
                                    {/foreach}
                                    </tbody>
                                </table>
                            </div>
                        </div>
                    </td>
                </tr>
            {/empty}
        </table>
    </div>
</div>